﻿using SXFramWork.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace SXFramWork.Service
{
	/// <summary>
	/// 认证信息返回模型
	/// </summary>
    public class AuthInfoOutPut
    {
	
		public string Id { get; set; }

		
		public string UserName { get; set; }

		public string Password { get; set; }

		
		public string TrueName { get; set; }
	
		public string Phone { get; set; }
		
		public DateTime? CreateTime { get; set; }

		
		
		public int Sex { get; set; }

		
		public string Adress { get; set; }

		
		public string HeadPic { get; set; }

		
		public DateTime? UpLoginDate { get; set; }

		
		public string Remarks { get; set; }

		/// <summary>
		/// 账户自定义配置
		/// </summary>
		public  SysUserConfigEntity config { get; set; }

		/// <summary>
		/// 菜单列表
		/// </summary>
		public List<UserMenu> Menus { get; set; }

		/// <summary>
		/// 接口权限列表
		/// </summary>
		public IList<string> Permissions { get; set; }

		///// <summary>
		///// 接口权限
		///// </summary>
		//public IList<string> Permissions { get; set; }

		public int MsgCount { get; set; }

	}
	/// <summary>
	/// 用户菜单
	/// </summary>
	public class UserMenu
	{
		public string Id { get; set; }
		public string Name { get; set; }

		public string Path { get; set; }

		public bool Hidden { get; set; } = false;
		public string Icon { get; set; }
		public bool Opened { get; set; } = false;
		public int Sort { get; set; }

		public string ParentId { get; set; }
		
		/// <summary>
		/// 子菜单
		/// </summary>
		public List<UserMenu> Children { get; set; }
		/// <summary>
		/// 菜单展示路径
		/// </summary>
		public string NamePath { get; set; }
	}
}
